@extends('base')
@section('style')
    <style>
        .question_lf {
            float: left;
            width: 50%;
            margin-bottom: 20px;
        }
    </style>
@stop
@section('content')
    <div class="pro_banner">
        <img src="image/probanner1.jpg"/>
    </div>
    <div class="bg_wh overflow">
        <div class="w1160">
            <ul class="service_box">
                <li class="servicetu1 on">
                    <a href="#">
                        <i></i>
                        <strong>操作视频</strong>
                        <span>Operation video</span>
                    </a>
                </li>
                <li class="servicetu2">
                    <a href="{{url('/servicesupport')}}">
                        <i></i>
                        <strong>产品说明书</strong>
                        <span>Products instructions</span>
                    </a>
                </li>
                <li class="servicetu3 on">
                    <a href="{{url('/serviceaq')}}">
                        <i></i>
                        <strong>常见问题</strong>
                        <span>common problems</span>
                    </a>
                </li>
                <li class="servicetu4">
                    <a href="#">
                        <i></i>
                        <strong>开放平台</strong>
                        <span>Open platform</span>
                    </a>
                </li>
            </ul>
            <div id="service_pro" class="service_pro">
                <div class="common_problem_con">
                    @foreach($directions as $direction)
                        <div class="question_lf">
                            <div class="question_one">
                                <p style="width: 50px;">下载:</p>
                                <a href="#" class="display">
                                    <ul class="question">
                                        <li><a href="{{url('/file/'.json_decode($direction->content,true)['file'].'/'.$direction->name)}}" target="_blank">{{$direction->name}}</a></li>
                                    </ul>
                                </a>
                            </div>
                        </div>
                    @endforeach
                </div>
            </div>
        </div>
        <div class="bg_f6f7 overflow">
            <ul class="index_major">
                <li>专业<span>我们只做手机开门</span></li>
                <li class="borderlfdadc">安全<span>电子钥匙不可复制开门记录可查</span></li>
                <li class="borderlfdadc">无限制<span>APP用户数量不受限制成本低</span></li>
                <li class="borderlfdadc">免费<span>APP专属页面免费定制</span></li>
                <li class="borderlfdadc">开放<span>API接口开放提供技术支持</span></li>
            </ul>
        </div>
    </div>
@stop